import { BasicFetchResult } from '@/api/model/baseModel'

/**
 * 服务商产品
 */
export interface GoodsModel {
  id: number
  provider_id: number
  category_id: number
  name: string
  image: string
  remark: string
  service_price: string
  add_price: string
  service_price_platform: string
  add_price_platform: string
  one_money: string
  two_money: string
  unit: string
  max_buy: number
  limit_buy: number
  sales_actual: number
  status: number
  content: string
  create_time: string
  update_time: string
  serviceIds: number[]
  total_pay_price: string
}

export type GoodsListGetResultModel = BasicFetchResult<GoodsModel>
export type GoodsGetResultModel = BasicFetchResult<GoodsModel>
